package com.instructor;

public abstract class Instructor {
    private String name;
    private String gender;
    private int age;
    private double teachAge;
    private String centre;

    public Instructor() {
    }

    public Instructor(String name, String gender, int age, double teachAge, String centre) {
        setAge(age);
        setCentre(centre);
        setGender(gender);
        setTeachAge(teachAge);
        setCentre(centre);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getTeachAge() {
        return teachAge;
    }

    public void setTeachAge(double teachAge) {
        this.teachAge = teachAge;
    }

    public String getCentre() {
        return centre;
    }

    public void setCentre(String centre) {
        this.centre = centre;
    }

    public abstract void giveLessons();
}